<h1>Georeferencia de <%= @culture.name %></h1>
<p id="notice"><%= notice %></p>
<br/>
<% if @culture_points.size > 0 %>

  <br></br>
  <table class="paginated_table sorted_table">
    <thead>
      <tr>
        <th>Latitud</th>
        <th>Longitud</th>
        <th></th>
      </tr>
    </thead>
    <tbody>
      <% @culture_points.each do |point| %>
        <tr>
          <td><%= point.latitude%></td>
          <td><%= point.longitude %></td>
          <td><%= link_to image_tag("navi/cross-16-ns.png", :border => 0, :title => 'Eliminar'), {:action => 'delete_point',:id => point.id}, {:confirm => '¿Realmente desea eliminar este punto?'}%></td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% else %>
  <p>Ningún punto encontrado</p>
<% end %>
<br />

<%= link_to 'Nuevo punto', {:action => 'new_point',:id => @culture.id}%>
